import './JDYComfirm.css'
import { Backdrop } from '../Backdrop/Backdrop'

import React from 'react'

export const JDYConfirm = (props) => {
  return (
      <Backdrop>
        <div className='jdy-confirm-container'>
            <p className='jdy-confirm-p'>{props.confirmText}</p>
            <div className='jdy-confirm-button'>
                <div className='cacle-btn' onClick={props.cancleHandle}>取消</div>
                <div className='confirm-btn' onClick={props.confirmHandle}>确定</div>
            </div>
        </div>
      </Backdrop>
  )
}
